package cn.escco.ocr.dto.po.base;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Data
public class Base implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 删除标识【n：未删除、u：更新轨迹、y：已删除】
     */
    @TableField(value = "delete_flag", updateStrategy = FieldStrategy.NEVER)
    private String deleteFlag;

    /**
     * 创建人
     */
    @TableField(value = "create_user" , updateStrategy = FieldStrategy.NEVER)
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_date" , updateStrategy = FieldStrategy.NEVER)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String createDate;

    /**
     * 更新人
     */
    @TableField("update_user")
    private String updateUser;

    /**
     * 更新时间
     */
    @TableField(value = "update_date" , updateStrategy = FieldStrategy.NEVER)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String updateDate;


}
